#!/usr/bin/env node
const me = {},
     stdout = process.stdout,
      stdin = process.stdin,
      msg = ['name','email','qq','mobile'];
let i = 0;

stdout.write(msg[i]+'\t:');

stdin.on('data',(data)=>{
 // log(data.toString('utf8'));
 me[msg[i++]] = data.toString('utf8');
stdout.write(msg[i]+'\t:');

});
stdin.on('end',()=>{
  console.log('bye');
});
